from odoo import http
from odoo.addons.web.controllers.home import Home  # 原始类在 web 模块中
 
# class WebClientCustomAlias(Home):  # 继承 web.controllers.main.Home
 
#     @http.route(
#         ['/abcdefg', '/abcdefg/<path:subpath>'],
#         type='http',
#         auth='none',
#         readonly=True
#     )
#     def web_client(self, s_action=None, **kw):
#         # 调用原始处理逻辑
#         return super().web_client(s_action,**kw)